package com.mushuilingfeng.ddd.user.domain.org.repository;

import com.mushuilingfeng.ddd.user.domain.org.entity.Org;
import com.mushuilingfeng.ddd.framework.repository.IDomainRepository;

/**
 * @author
 * @date 2024/9/18
 */
public interface IOrgRepository extends IDomainRepository<Org> {

    Org getByOrgCode(String orgCode);

    boolean existChildOrg(String orgCode);

}
